﻿@if (Request.IsAuthenticated)
{
  <div class="user-display">
    @if (User.Identity.IsAuthenticated)
    {
       <span class="welcome">Logged in as @User.Identity.Name</span>
        <span class="user-actions">
            @Html.ActionLink("Log Off", "LogOff", "Account")           
        </span>
    }
  
</div>
}
else
{
    @: @Html.ActionLink("Log On", "LogOn", "Account") 
}
